<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <!-- 预交金清单页面 -->
    <titleType style="display: none;">yjjList</titleType>
    <%- include('../../../_global/baseLibs') %>
    <link rel="stylesheet" href="/static/css/payment.css">
</head>
<body>
<!--设置头部信息-->
<header class="header-box fixed grey">
    <div class="header-content">
        <div class="left-tool">
            <a class="back" href="javascript:void(0);"><i class="iconfont icon-back"></i></a>
        </div>
        <div class="title">预交金清单</div>
    </div>
</header>

<section >
    <div id="yjjList">
    </div>
</section>

</body>
<script type="text/javascript">

 

  
    var page_yjjList = (function($, page_yjjList) {

        function getListData(){

            var arr =[
                {
                    a:"12355",
                    b:"3847482",
                    c:"2018-01-09",
                    d:"支付宝",
                    e:"1000",
                }
            ];

            var str="";
            if(arr.length>0){
                for(var i=0,per;per=arr[i++];){
                    var data = JSON.stringify(per);
                    str+='<div><ul class="bilsContent">'
                        +'<li><span class="grayFont">收据编号:</span>'+ per.a+'<span class="right">已支付</span></li>'
                        +'<li><span class="grayFont">住院号:</span>'+per.b+'</li>'
                        +'  <li class="payInfo"><div><span class="grayFont">支付时间:</span> '+ per.c+'</div>'
                        +'     <div><span  class="grayFont">支付类型:</span>'+ per.d+'</div></li>'
                        +' <li><span class="grayFont">支付金额:</span>'+ per.e+'</li>'
                        +'</ul>'
                        +'</div>';

                }

                $('#yjjList').append(str);
            }

        }

        var cfg_def = {
            getListData: getListData,
        }

        page_yjjList.init = function(cfg){
            $.extend(page_yjjList, cfg_def, cfg);
            page_yjjList.getListData();

        }

        return page_yjjList;
    })(jQuery, {});
    


</script>
</html>